package com.eportal.domain;
                                  
import java.sql.Timestamp;

public class TKeys implements java.io.Serializable {
	/**
	 * 钥匙
	 * @author chencheng
	 */
	private static final long serialVersionUID = 1L;
	
	/** sid*/
	private Long sid;
	
	/** 申请的时间*/
	private Timestamp reqTime;

	/** 用户id*/
	private String userId;

	/** 有效期 */
	private Timestamp validity;

	/** 锁ID*/
	private String pid;

	/** 凭证算法版本*/
	private String algorithmVer;

	/** 钥匙名称*/
	private String lockName;

	/**返回的 community id */
	private String platDepartid;

	/** 钥匙凭证，lock_id*/
	private String keyContent;

	/** 单元id*/
	private String installunitId;
	
	/** 对应开放平台的钥匙id，申请钥匙中返回的ksid*/
	private String platKeyId;
	
	/** 社区id*/
	private String communityId;
	
	/**  默认:0正常，1:停用,2:换锁失效*/
	private String status;
	
	private Timestamp startTime;
	
	
	
	
	public Timestamp getStartTime() {
		return startTime;
	}



	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}



	/**
	 * 默认:0正常，1:停用,2:换锁失效
	 * @return status 默认:0正常，1:停用,2:换锁失效
	 */
	public String getStatus() {
		return status;
	}
	


	/**
	 * 默认:0正常，1:停用,2:换锁失效
	 * @param status 默认:0正常，1:停用,2:换锁失效
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	


	/**
	 * sid  
	 * @return the sid
	 */
	public Long getSid() {
		return sid;
	}
	

	/**
	 * sid 
	 * @param sid
	 */
	public void setSid(Long sid) {
		this.sid = sid;
	}
	

	/**
	 * 申请的时间  
	 * @return the reqTime
	 */
	public Timestamp getReqTime() {
		return reqTime;
	}
	

	/**
	 * 申请的时间 
	 * @param reqTime
	 */
	public void setReqTime(Timestamp reqTime) {
		this.reqTime = reqTime;
	}
	

	/**
	 * 有效期  
	 * @return the validity
	 */
	public Timestamp getValidity() {
		return validity;
	}
	

	/**
	 * 有效期 
	 * @param validity
	 */
	public void setValidity(Timestamp validity) {
		this.validity = validity;
	}
	

	/**
	 * 锁ID  
	 * @return the pid
	 */
	public String getPid() {
		return pid;
	}
	

	/**
	 * 锁ID 
	 * @param pid
	 */
	public void setPid(String pid) {
		this.pid = pid;
	}
	

	/**
	 * 凭证算法版本  
	 * @return the algorithmVer
	 */
	public String getAlgorithmVer() {
		return algorithmVer;
	}
	

	/**
	 * 凭证算法版本 
	 * @param algorithmVer
	 */
	public void setAlgorithmVer(String algorithmVer) {
		this.algorithmVer = algorithmVer;
	}
	

	/**
	 * 钥匙名称  
	 * @return the lockName
	 */
	public String getLockName() {
		return lockName;
	}
	

	/**
	 * 钥匙名称 
	 * @param lockName
	 */
	public void setLockName(String lockName) {
		this.lockName = lockName;
	}
	

	/**
	 * 返回的communityid  
	 * @return the platDepartid
	 */
	public String getPlatDepartid() {
		return platDepartid;
	}
	

	/**
	 * 返回的communityid 
	 * @param platDepartid
	 */
	public void setPlatDepartid(String platDepartid) {
		this.platDepartid = platDepartid;
	}
	

	/**
	 * 钥匙凭证，lock_id  
	 * @return the keyContent
	 */
	public String getKeyContent() {
		return keyContent;
	}
	

	/**
	 * 钥匙凭证，lock_id 
	 * @param keyContent
	 */
	public void setKeyContent(String keyContent) {
		this.keyContent = keyContent;
	}
	

	/**
	 * 单元id
	 * @return the installunitId
	 */
	public String getInstallunitId() {
		return installunitId;
	}
	


	/**
	 * 单元id
	 * @param installunitId
	 */
	public void setInstallunitId(String installunitId) {
		this.installunitId = installunitId;
	}


	/**
	 * 用户id  
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}
	


	/**
	 * 用户id 
	 * @param userId
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	


	/**
	 * 对应开放平台的钥匙id，申请钥匙中返回的ksid  
	 * @return the platKeyId
	 */
	public String getPlatKeyId() {
		return platKeyId;
	}
	


	/**
	 * 对应开放平台的钥匙id，申请钥匙中返回的ksid 
	 * @param platKeyId
	 */
	public void setPlatKeyId(String platKeyId) {
		this.platKeyId = platKeyId;
	}
	


	/**
	 * 社区id  
	 * @return the communityId
	 */
	public String getCommunityId() {
		return communityId;
	}
	


	/**
	 * 社区id 
	 * @param communityId
	 */
	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	
	
	
	
}
